import React from 'react';
import { changePage } from '../../store/actions'
import { connect } from 'react-redux'
import FormEditRole from '../../components/formEditRole'
class RoleAdd extends React.Component{
    constructor(props){
        super(props);
    }
    componentWillReceiveProps(nextProp){}
    render(){
        return (
            <FormEditRole />
        )
    }
}
export default RoleAdd = connect((state)=>{
    const {user} = state.rootReducer;
    return {user}
})(RoleAdd)